package cn.lbd.auth.dao;



import cn.lbd.auth.model.Resource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ResourceDao {
	List<Resource> selectAllResource();
	Resource selectResourceById(Integer resourceId);
	List<Resource> fuzzySearchResource(Map<String, Object> searchMap);
	void insertResource(Resource resource);
	void updateResource(Resource resource);
	void deleteResource(Integer resourceId);
}
